﻿using UnityEngine;
using System.Collections;

public class RotationSymbole : MonoBehaviour {

	public GameObject symbole;
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		if ((RetraitChaine.positionFin < -20.5) && (RetraitChaine2.positionFin > 12.8) && (RetraitChaine3.positionFin > 13.1)) {
			symbole.transform.Rotate (new Vector3 (0, 0, -23) * Time.deltaTime);
		}
	}
}
